package com.example.chat.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("tb_report")
public class Report {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer adminId;//被举报人id
    private String content="";//举报内容html文件路径

    private int status=1;//1待审核 2已审核 3未通过审核
    private long createTime;//创建时间
    private Integer createAdmin=0;//创建人
    @TableField(exist = false)
    private String createAdminName;
    @TableField(exist = false)
    private String adminName;
}
